package com.chris.homecare.screens
{
	import feathers.controls.Button;
	import feathers.controls.Screen;
	import feathers.layout.TiledRowsLayout;
	
	public class TestScreen extends Screen
	{
		public function TestScreen()
		{
			super();
		}
		
		override protected function initialize():void
		{
			const layout:TiledRowsLayout = new TiledRowsLayout();
			this.layout = layout;
			
			var eventBtn:Button = new Button();
			eventBtn.label = "Events";
			addChild(eventBtn);
			
			var updateBtn:Button = new Button();
			updateBtn.label = "Updates";
			addChild(updateBtn);
			
			var serviceBtn:Button = new Button();
			serviceBtn.label = "Our Services";
			addChild(serviceBtn);
			
			var locationBtn:Button = new Button();
			locationBtn.label = "Location";
			addChild(locationBtn);
			
			var jobsBtn:Button = new Button();
			jobsBtn.label = "Jobs";
			addChild(jobsBtn);
			
			var requestBtn:Button = new Button();
			requestBtn.label = "Request";
			addChild(requestBtn);
		}
		
		override protected function draw():void
		{
			super.draw();
			trace("this.actualWidth"+this.actualWidth);
		}
	}
}